#ifndef __speed_control_H__
#define __speed_control_H__

#include  "common.h"

#define left 3
#define right 2


#define zhidao_speed  2.2
#define wandao_speed  2.0
#define huandao_speed 1.8



void Motor_PWM_Init(void);
void Set_Motor_PWM(uint8_t mode,int32_t velocity);
void different_speed(void);
void read_speed_init(void);
void read_speed(void);


extern float left_speed,right_speed;
extern int left_speed_count,right_speed_count;

#endif




















